[//提现订单录入
    async function( CANSHU ){
        var $THIS = this;
        var interval = 1000;
        let  $features = await Kuoplus("payment");
        var  $iii = 0;
        let $db = await db("payment_order");
        let $GTIME = Mode("Tools").Int($features['configure']['过期时间']['0']?$features['configure']['过期时间']['0']:300);
        setInterval(async function(){
            try {
                $iii ++;
                if($iii %10 == 1){
                    $features = await Kuoplus("payment");
                }
                if($iii %20 == 1){
                    $db = await db("payment_order");
                }
                if($iii > 1000000000){
                    $iii = 0;
                }
                $GTIME = Mode("Tools").Int($features['configure']['过期时间']['0']?$features['configure']['过期时间']['0']:300);
                let timex = Mode("Tools").Time();
                let $time = timex - $GTIME;
                $db = await $db.SetTable("payment_order");
                await $db.Where({'off':1,'atime <':$time}).Update({'off':3,'ctime':timex});
                await $db.Where({'off':0,'atime <':$time-$GTIME}).Update({'off':3,'ctime':timex});
                $db = await $db.SetTable("payment_code");
                await $db.Where({'atime <':$time,'atime >':0}).Update({'atime':0,'orderid':0});
            } catch (error) { p(error)}
          
        },interval);
          
    }
]